Given /a setup\.rb compliant Ruby project$/ do
  FileUtils.rm_r(FAUXDIR) if FAUXDIR.exist?
  FileUtils.mkdir_p(FAUXDIR)
  FileUtils.cp_r(FIXTURE, FAUXDIR)
  dir = FAUXDIR + FIXTURE.basename
  Dir.chdir(dir)
end

Given /the project does NOT have extensions$/ do
  dir = FAUXDIR + FIXTURE.basename
  dir = File.join(dir, 'ext')
  FileUtils.rm_r(dir)
  $setup_no_extensions = true
end

#Given /^'setup\.rb (.*?)' has been run$/ do |cmd|
#  argv = cmd.split(/\s+/)
#  Setup::Command.run(*argv)
#end

#When /^I issue the command 'setup.rb (.*?)'$/ do |cmd|
#  argv = cmd.split(/\s+/)
#  Setup::Command.run(*argv)
#end

#When /^I issue the command 'setup.rb (.*?)' unprepared$/ do |cmd|
#  begin
#    argv = cmd.split(/\s+/)
#    Setup::Command.run(*argv)
#  rescue SystemExit => error
#    $setup_feature_error = error
#  end
#end

